<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../common.jsp"%>
<!doctype html>
<html>
<head>
<title>我的资金</title>
</head>
<body ontouchstart>

<header class="contHeader">
    <div class="contOHeader">
        <h1>我的资金</h1>
        <div class="contOHeadBack"><a href="javascript:history.go(-1);" ><img src="${staticPath}/images/back2.png"></a></div>
        
    </div>
</header>
<div class="bd">
      <div class="weui_cells">
      	<c:if test="${isProxy == true }">
        <div class="weui_cell">
          <div class="weui_cell_bd weui_cell_primary">
            <p style="float:left;padding-right:20px;line-height:60px;">我的收入：<fmt:formatNumber value="${commissions/100}" pattern="#,###.##" />元</p>
          </div>
        </div>
        </c:if>
        <div class="weui_cell">
          <div class="weui_cell_bd weui_cell_primary">
            <p style="float:left;padding-right:20px;line-height:60px;">可用余额：<fmt:formatNumber value="${purse/100}" pattern="#,###.##" />元</p>
            <a href="javascript:recharge();" class="weui_btn weui_btn_mini weui_btn_primary">充值</a>
            <a href="javascript:withdrawals();" class="weui_btn weui_btn_mini weui_btn_primary">提现</a>
          </div>
        </div>
      </div>
      <div class="weui_cells weui_cells_access">
      	<c:if test="${isProxy == true }">
        <a class="weui_cell" href="javascript:commission(3);">
          <div class="weui_cell_bd weui_cell_primary">
            <p>我的收入</p>
          </div>
          <div class="weui_cell_ft">
          </div>
        </a>
        </c:if>
        <a class="weui_cell" href="javascript:fundflow(2);">
          <div class="weui_cell_bd weui_cell_primary">
            <p>购买记录</p>
          </div>
          <div class="weui_cell_ft">
          </div>
        </a>
        <a class="weui_cell" href="javascript:fundflow(10);">
          <div class="weui_cell_bd weui_cell_primary">
            <p>充值记录</p>
          </div>
          <div class="weui_cell_ft">
          </div>
        </a>
        <a class="weui_cell" href="javascript:fundflow(20);">
          <div class="weui_cell_bd weui_cell_primary">
            <p>提现记录</p>
          </div>
          <div class="weui_cell_ft">
          </div>
        </a>
        <a class="weui_cell" href="javascript:myVoucher();">
          <div class="weui_cell_bd weui_cell_primary">
            <p>我的代金券</p>
          </div>
          <div class="weui_cell_ft">
          </div>
        </a>
	</div>
</div>
</body>
<script type="text/javascript" src="${staticPath}/js/app/money/money.js"></script>
<script type="text/javascript" src="${staticPath}/js/app/commission/performance.js"></script>
</html>

